//
//  FoodCell.m
//  掌厨
//
//  Created by aoyolo on 15/10/24.
//  Copyright (c) 2015年 李祖铜. All rights reserved.
//

#import "FoodCell.h"
#import "UIImageView+WebCache.h"

@implementation FoodCell

- (void)awakeFromNib {
    // Initialization code
}

//美食专题
-(void)setFood:(NSArray *)FoodArray
{
    NSDictionary *dict = FoodArray[0];
    self.label1.text = [dict objectForKey:@"title"];
    self.label2.text = [dict objectForKey:@"description"];
    [_image1 sd_setImageWithURL:[NSURL URLWithString:dict[@"image"]]];
    
    NSDictionary *dict1 = FoodArray[1];
    self.label3.text = [dict1 objectForKey:@"title"];
    self.label4.text = [dict1 objectForKey:@"description"];
    [_image2 sd_setImageWithURL:[NSURL URLWithString:dict1[@"image"]]];
}
@end
